﻿package fwk.sharedLibs{
	
	import flash.utils.getDefinitionByName;


	public class ClassesLibrary{

		
		//--------------------------------------------------------
		//--Cosntructeur
		//--------------------------------------------------------
		function ClassesLibrary(){
			trace("new ClasseLibrary");

		}

		//--------------------------------------------------------
		//--Getter class object by getClassByAlias
		//--------------------------------------------------------
		public function getInstanceByName(name:String):Object {
			var myClass:Class = getDefinitionByName(name) as Class;
			return new myClass();
		}
	}
}